import Vue from 'vue'
import Router from 'vue-router'
import TeamList from '@/view/teamlist/teamlist.vue'
import Seller from '@/view/seller/seller.vue'
import Conversation from '@/view/conversation/conversation.vue'
import Personal from '@/view/personal/personal.vue'
import Createlist from '@/view/conversation/createlist.vue'
import Partner from '@/view/partner/partner.vue'

import Themedetail from '@/view/conversation/themedetail.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/', redirect: '/conversation'
    },
    {
      path: '/teamlist',
      name: 'TeamList',
      component: TeamList
    },
    {
      path: '/seller',
      name: 'Seller',
      component: Seller
    },
    {
      path: '/conversation',
      name: 'Conversation',
      component: Conversation
    },
    {
      path: '/personal',
      name: 'Personal',
      component: Personal
    },
    {
      path: '/createlist',
      name: 'Createlist',
      component: Createlist
    },
    {
      path: '/partner',
      name: 'Partner',
      component: Partner
    },
    {
      path: '/themedetail',
      name: 'Themedetail',
      component: Themedetail
    }
  ]
})
